package com.rz.htk.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rz.htk.order.entity.Order;
import com.rz.htk.order.entity.Sender;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SenderMapper extends BaseMapper<Sender>{
    @Select("select * from Sender ")
    public List<Sender> listSender();

    @Select("select * from Sender where code=#{code} and del_flag=0")
    public List<Sender> listSenderByCode(String code);
}
